Get information about all agent pools

Return a JSON representation of all agent pools.

Request

GET https://{hostname}:{port}
    /cli/agentPool?{parameters}
Accept: application/json
Table 1. Request parameters
Parameter Type Required Description
active boolean false
Table 2. Header parameters
Parameter Type Required Description
Accept application/json true

Example response

[
  {
    "id": "11dda768-525d-4055-a7d2-5fb0e86ad236",
    "name": "Pool1",
    "active": true,
    "description": "",
    "status": "ONLINE"
  },
  {
    "id": "8bfa2e62-2376-466c-91c5-3f79b3e6f655",
    "name": "Pool2",
    "active": true,
    "description": "",
    "status": "ONLINE"
  }
]

Related CLI command: getAgentPools.